package com.zuul.service.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient(value = "AZB-BU-SERVICE")
public interface RedisService {
    @RequestMapping(value = "v1/redis", method = RequestMethod.POST)
    Map<String,Object> getMessage(@RequestBody Map<String, Object> map);
}
